package io.renren.modules.newBackground.shanghaiCmcc.dto;

import com.alibaba.fastjson.annotation.JSONField;
import io.renren.common.utils.DateUtils;
import lombok.Data;

import java.util.Date;

/**
 * @author liangpei
 * @version 1.0
 * @description: TODO
 * @date 2024/6/25 15:21
 */
@Data
public class OrderPubInfo {

    @JSONField(name = "OrgId")
    private String orgId = "877796"; // 传第三方合作伙伴的Orgid

    @JSONField(name = "TransactionTime")
    private String transactionTime = DateUtils.format(new Date(), DateUtils.DATE_TIME_PATTERN_2); // 操作时间

    @JSONField(name = "InterfaceType")
    private String interfaceType = "06"; // 固定填写05

    @JSONField(name = "RegionCode")
    private String regionCode = "021"; // 固定填写210

    @JSONField(name = "OpId")
    private String opId = "10042575"; // 传第三方合作伙伴的Opid

    @JSONField(name = "InterfaceId")
    private String interfaceId = "138"; // 固定填写25

    @JSONField(name = "ClientIP")
    private String clientIP = "82.157.36.50"; // 传请求方主机ip

    @JSONField(name = "TransactionId")
    private String transactionId; // 流水号

    // CountyCode字段根据说明不需要getter和setter
    @JSONField(name = "CountyCode")
    private String countyCode = "86"; // 县市编号，非必填
}
